package cn.edu.xmu.wnw.pojo;
// default package

import java.util.Date;


/**
 * ArticleComment entity. @author MyEclipse Persistence Tools
 */

public class ArticleComment  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Article article;
     private String content;
     private Date createTime;
     private String createUserName;


    // Constructors

    /** default constructor */
    public ArticleComment() {
    }

    
    /** full constructor */
    public ArticleComment(Article article, String content, Date createTime, String createUserName) {
        this.article = article;
        this.content = content;
        this.createTime = createTime;
        this.createUserName = createUserName;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Article getArticle() {
        return this.article;
    }
    
    public void setArticle(Article article) {
        this.article = article;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }
    
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
   








}